(someone) is off (one's) head

Translations
(кто-то) спятил
You're off your head if you think this plan will work.
Ты спятил, если думаешь, что этот план сработает.
Definitions
This phrase means that someone is acting crazy, irrational, or not thinking clearly. It can also imply that the person is behaving in a foolish or eccentric way.